package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatProductSkuFeign {

    @RequestMapping({"/wechat/sku/list"})
    String maxProduct(@RequestParam("type") String type,@RequestParam("jsonObject") JSONObject jsonObject);

    @RequestMapping({"/wechat/sku/queryroductsku"})
    String findProductSku(@RequestParam("prodId") Long prodId);
}
